package org.btik.light.server.platform;

import org.btik.light.server.platform.manage.SystemEventListener;
import org.btik.light.meta.Dev;
import org.btik.light.meta.base.type.DevCmdBuilder;
import org.btik.light.meta.base.type.ReportParser;
import org.springframework.stereotype.Component;

import java.util.HashMap;

/**
 * @author lustre
 * @version 1.0
 * @since 2021/5/15 12:37
 * 设备的meta工厂
 */
@Component
public class DevMetaFactory implements SystemEventListener {

    private HashMap<String, DevCmdBuilder> metaMap = new HashMap<>();

    public DevCmdBuilder getCmdBuilder(Dev dev) {

        return null;
    }

    public ReportParser getReportParser(Dev dev) {
        return null;

    }

    @Override
    public void onServerStart() {

    }
}
